-- GENERATED SPELL FOR [Silverwing Sentinel] --


function spell0_12896(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12896', 546, 1)
end

function Sorts_12896(pUnit, Event)
local choix_sorts_12896 = math.random(0, 0)
if choix_sorts_12896 == 0 then
pUnit:RegisterEvent('spell0_12896', 1, 1)
end
end

function mob12896_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12896', math.random(1500, 3000), 1)
end

function mob12896_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12896_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12896_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12896, 1, 'mob12896_Action')
RegisterUnitEvent(12896, 2, 'mob12896_Leave')
RegisterUnitEvent(12896, 3, 'mob12896_Kill')
RegisterUnitEvent(12896, 4, 'mob12896_Die')
